package com.hmall.search.enums;

public enum EsHttpHost {
    LOCALHOST("192.168.30.130", 9200);

    private final String host;
    private final int port;

    EsHttpHost(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public int getPort() {
        return port;
    }
}
